{{extend 'layout.html'}}
{{=form}}
<script>
$(document).ready(function(){
	$('#delete_record').attr('onclick',
		"if(this.checked && confirm('Want to delete this record?'))
			this.checked=true; else this.checked=false;");
});
</script>